package com.njtoyo.taxi.admin.mapper.master.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.njtoyo.taxi.admin.mapper.master.enums.DriverRewardCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Dell
 * @since 2021-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DriverReward对象", description="")
public class DriverReward implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long driverId;

    private Long marketingId;

    @ApiModelProperty(value = "奖励类型")
    private DriverRewardCategory category;

    private String through;

    private BigDecimal amount;

    private Boolean isVerified;

    @ApiModelProperty(value = "到账时间")
    private Date arrivalTime;

    private Date createdAt;
}
